ちゃんと調べるべきだなぁ...
ただ、Publish::Delciousではendpoint書き換えられないからパッチ書いた。
Index: lib/Plagger/Plugin/Publish/Delicious.pm
===================================================================
--- lib/Plagger/Plugin/Publish/Delicious.pm (revision 1981)
+++ lib/Plagger/Plugin/Publish/Delicious.pm (working copy)
@@ -18,10 +18,14 @@
sub initialize {
my ($self, $context, $args) = @_;
- $self->{delicious} = Net::Delicious->new({
+ my $opt = {
user => $self->conf->{username},
pswd => $self->conf->{password},
- });
+ };
+ for my $key (qw/ endpoint/) {
+ $opt->{$key} = $self->conf->{$key} if $self->conf->{$key};
+ }
+ $self->{delicious} = Net::Delicious->new($opt);
}
sub add_entry {
YAMLには
- module: Publish::Delicious
config:
username: del.icio.us-username
password: del.icio.us-password
interval: 2
post_body: 1
endpoint: https://secure.bluedot.us/v1/
と書くと行ける!これで、私が同期しているソーシャルブックマークは
- Publish::Delicious
- Publish::LivedoorClip
- Publish::Buzzurl
- Publish::LivedoorCilp
- Publish::Buzzurl
- Publish::GooBookmark
- Publish::NiftyClip
- Publish::Pookmark
- Publish::YahooBookmark
- Publish::BlueDot という名の Pubilsh::Delicious
収拾がつかなくなってきた。